﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Block2048ItemDialog.aspx.cs" Inherits="ZLCMS.Web.SystemManage.weixin.Interaction.Block2048ItemDialog" %>


<form id="GameAwardItemDialog" runat="server" class="pageForm required-validate">

    <div class="pageContent">
    
    <div class="pageFormContent" layoutH="60">

         <input type=hidden  width="100px" prop="Code">
        <dl>
            <dt>游戏项目名称：</dt>
            <dd><input type=text  width="100px" prop="Name"></dd>
        </dl>    
	</div>
	
    <div class="formBar">
    <input id="submit_op" name="submit_op" type="hidden" />
	    <ul>
			<li>
	        <div class="buttonActive"><div class="buttonContent"><button  type="button"  onclick="return svaeGameAwardItem()" class="close">保存</button></div></div>
            </li>
			<li>
		    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
			</li>
		</ul>
    </div>
    
    </div>
    </form>
    
    <script type="text/javascript">
    initializeGridItemInDialog($('#GameAwardItemDialog'), <%=Request["object"] %>);
    function svaeGameAwardItem(){
        var val = $('#GameAwardItemDialog').find('[prop=Code]').val();
        if(val == ''){
            $('#GameAwardItemDialog').find('[prop=Code]').val(new Date().valueOf());
        }
        return saveDialogDataAsDialogResult($('#GameAwardItemDialog'));
    }
    </script>